#if !defined(AFX_BCFUGLMEYERLOWPAGE_H__06A110EC_FBF0_4C4B_A47C_108C0E97F29E__INCLUDED_)
#define AFX_BCFUGLMEYERLOWPAGE_H__06A110EC_FBF0_4C4B_A47C_108C0E97F29E__INCLUDED_

#include "ScrollPage.h"
#include "../Common/LinkEdit.h"
#include "../Common/LinkComboBox.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BCFuglMeyerLowPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBCFuglMeyerLowPage dialog

class CBCFuglMeyerLowPage : public CScrollPage
{
// Construction
public:
	CBCFuglMeyerLowPage(CWnd* pParent = NULL, BOOL bBigRes = TRUE);   // standard constructor

	static BOOL		ScoreFieldsCheck(LPVOID pParam);
	enum { BODYCHECKSCALEID = 4 };
	enum { INPUT_EDIT_CTRL_COUNT = 18};
	
	virtual int		SaveData(CString strMRN, int nDiagSN, BOOL bIsDraft);
	virtual BOOL	ShowTableData(CString strMRN, int nDiagSN);
	virtual BOOL	ClearData();
	virtual BOOL	EnableInputControls(BOOL bEnable);
	virtual BOOL	IsPageCurDayBlank();
	
	BOOL			ShowTableDataWithStartCol(CString strMRN, int nDiagSN, int nStartCol);
	BOOL			SetLastColTitile(CString strDate, int nDiagSN);
	
// Dialog Data
	//{{AFX_DATA(CBCFuglMeyerLowPage)
	enum { IDD = IDD_BODYCHECK_PAGE_FUGL_MEYER_LOW, SD_IDD = IDD_BODYCHECK_PAGE_FUGL_MEYER_LOW_SD };
    CLinkEdit m_edtFMLow101;
	CLinkEdit m_edtFMLow102;
	CLinkEdit m_edtFMLow103;
	CLinkEdit m_edtFMLow104;
	CLinkEdit m_edtFMLow105;
	CLinkEdit m_edtFMLow106;
	CLinkEdit m_edtFMLow107;
	CLinkEdit m_edtFMLow108;
	CLinkEdit m_edtFMLow109;
	CLinkEdit m_edtFMLow110;
	CLinkEdit m_edtFMLow111;
	CLinkEdit m_edtFMLow112;
	CLinkEdit m_edtFMLow113;
	CLinkEdit m_edtFMLow114;
	CLinkEdit m_edtFMLow115;
	CLinkEdit m_edtFMLow116;
	CLinkEdit m_edtFMLow117;
	CLinkEdit m_edtFMLow118;

    CLinkEdit m_edtFMLow201;
	CLinkEdit m_edtFMLow202;
	CLinkEdit m_edtFMLow203;
	CLinkEdit m_edtFMLow204;
	CLinkEdit m_edtFMLow205;
	CLinkEdit m_edtFMLow206;
	CLinkEdit m_edtFMLow207;
	CLinkEdit m_edtFMLow208;
	CLinkEdit m_edtFMLow209;
	CLinkEdit m_edtFMLow210;
	CLinkEdit m_edtFMLow211;
	CLinkEdit m_edtFMLow212;
	CLinkEdit m_edtFMLow213;
	CLinkEdit m_edtFMLow214;
	CLinkEdit m_edtFMLow215;
	CLinkEdit m_edtFMLow216;
	CLinkEdit m_edtFMLow217;
	CLinkEdit m_edtFMLow218;
	
    CLinkComboBox m_edtFMLow301;
	CLinkComboBox m_edtFMLow302;
	CLinkComboBox m_edtFMLow303;
	CLinkComboBox m_edtFMLow304;
	CLinkComboBox m_edtFMLow305;
	CLinkComboBox m_edtFMLow306;
	CLinkComboBox m_edtFMLow307;
	CLinkComboBox m_edtFMLow308;
	CLinkComboBox m_edtFMLow309;
	CLinkComboBox m_edtFMLow310;
	CLinkComboBox m_edtFMLow311;
	CLinkComboBox m_edtFMLow312;
	CLinkComboBox m_edtFMLow313;
	CLinkComboBox m_edtFMLow314;
	CLinkComboBox m_edtFMLow315;
	CLinkComboBox m_edtFMLow316;
	CLinkComboBox m_edtFMLow317;
	CLinkEdit m_edtFMLow318;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBCFuglMeyerLowPage)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBCFuglMeyerLowPage)
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
		
private:
	INPUT_FIELD_INFO			m_InputFieldArray1[INPUT_EDIT_CTRL_COUNT];
	INPUT_FIELD_INFO			m_InputFieldArray2[INPUT_EDIT_CTRL_COUNT];
	INPUT_FIELD_INFO			m_InputFieldArray3[INPUT_EDIT_CTRL_COUNT];
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BCFUGLMEYERLOWPAGE_H__06A110EC_FBF0_4C4B_A47C_108C0E97F29E__INCLUDED_)
